<form action="" method="post">
{% csrf_token %}
<!-- <h2>一、逻辑推理测试选择题（每题1分，共10分）</h2> -->

<h2>一、逻辑推理测试选择题（每题1分，共10分）</h2>
	<ol>
		{% for question in context_dict.单选题 %}
				<li><h3>{{question.question_text}}</h3></li>
				{% for choice in question.choice_set.all %}
				<input type="radio" name="{{question.id}}" value="{{choice.id}}" id="choice{{forloop.counter}}">
				<label id="choice{{forloop.counter}}">{{choice.choice_text}}</label><br />
				{% endfor %}
		{% endfor %}	
	</ol>
<h2>二、填空题</h2>
	<ol>
		{% for question in context_dict.填空题 %}
				<li><h3>{{question.question_text}}</h3>
				<input type="text" name="{{question.id}}" id="choice{{forloop.counter}}">
				<label id="choice{{forloop.counter}}"></label>
				</li><br />
		{% endfor %}	
	</ol>

<h2>三、英汉互译题</h2>
	<ol>
		{% for question in context_dict.英汉互译题 %}
				<li><h3>{{question.question_text}}</h3>
				<input type="text" name="{{question.id}}" id="choice{{forloop.counter}}">
				<label id="choice{{forloop.counter}}"></label>
				</li><br />
		{% endfor %}	
	</ol>

<h2>四、判断题</h2>
	<ol>
		{% for question in context_dict.判断题 %}
				<li><h3>{{question.question_text}}</h3></li>
				{% for choice in question.choice_set.all %}
				<input type="radio" name="{{question.id}}" value="错" id="choice{{forloop.counter}}">
				<input type="radio" name="{{question.id}}" value="对" id="choice{{forloop.counter}}">
				<br />
				{% endfor %}
		{% endfor %}	
	</ol>

<input type="submit" name="" value="提交">
</form>





<div class="box box-element ui-draggable" style="display: block;">
                        <a href="#close" class="remove label label-danger">
                            <i class="glyphicon glyphicon-remove"></i>
                            删除
                        </a>
                        <span class="drag label label-default">
                            <i class="glyphicon glyphicon-move"></i>
                            拖动
                        </span>
                        <div class="preview">手风琴切换</div>
                        <div class="view">
                            <div class="panel-group" id="panel-307253">
                                <div class="panel panel-default">
                                    <div class="panel-heading">
                                        <a class="panel-title" data-toggle="collapse" data-parent="#panel-307253" href="#panel-element-489353" contenteditable="true">Collapsible Group Item #1</a>
                                    </div>
                                    <div id="panel-element-489353" class="panel-collapse in" style="height: auto;">
                                        <div class="panel-body" contenteditable="true">Anim pariatur cliche...</div>
                                    </div>
                                </div>
                                <div class="panel panel-default">
                                    <div class="panel-heading">
                                        <a class="panel-title collapsed" data-toggle="collapse" data-parent="#panel-307253" href="#panel-element-40909" contenteditable="true">Collapsible Group Item #2</a>
                                    </div>
                                    <div id="panel-element-40909" class="panel-collapse collapse" style="height: 0px;">
                                        <div class="panel-body" contenteditable="true">Anim pariatur cliche...</div>
                                    </div>
                                </div>
                            </div>

                        </div>
                    </div>